package com.jiuyi.exception;

import com.jiuyi.emum.HttpMsgMenu;

public class SystemException extends RuntimeException {
    private int code;

    private String msg;

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    public SystemException(HttpMsgMenu httpMsgMenu) {
        this.code = 0;
        this.msg = httpMsgMenu.getMsg();
    }
}